package com.itmuch.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * Spring Cloud Config配置属性刷新之自动刷新
 * 		1.在maven添加包
 * 		2.在配置文件添加配置
 * 		
 */


@RefreshScope
@SpringBootApplication
public class MicroserviceConfigpplication {
	
	public static void main(String[] args) {
		SpringApplication.run(MicroserviceConfigpplication.class, args);
		
	}
	
	
}
